package interfaceSample;

public class ClientClass {

	public static void main(String[] args) {
		Animal dog = new Dog("Bruno");
		Animal cat = new Cat("kitty");
		Animal cow = new Cow("chukie");
		
		AnimalWorker.scareAnimal(dog);
		
		System.out.println("********************");
		
		AnimalWorker.scareAnimal(cat);
		
		System.out.println("********************");
		
		AnimalWorker.scareAnimal(cow);
		
		AnimalWorker.tryToSeat(cow);
	}
}
